projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e823c34
)
Unbreak completion in python-mode buffers
author
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 30 Dec 2015 04:24:08 +0000
(06:24 +0200)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 30 Dec 2015 04:25:48 +0000
(06:25 +0200)
* lisp/progmodes/python.el (python-shell-completion-at-point):
Unbreak in python-mode buffers.
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 04542cdff3dd810069a6d1d58fbe854bffe70a00..c9235129f9862fa2ea595c4f2ee8b645cb222432 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-3569,7
+3569,9
@@
using that one instead of current buffer's process."
(forward-char (length (match-string-no-properties 0)))
(point))))
(end (point))
- (prompt-boundaries (python-util-comint-last-prompt))
+ (prompt-boundaries
+ (with-current-buffer (process-buffer process)
+ (python-util-comint-last-prompt)))
(prompt
(with-current-buffer (process-buffer process)
(when prompt-boundaries